EntityDAC

IObjectEnumerable<T>.SingleOrDefault

Returns the only element of an enumeration, or a nil value if there is not exactly one element in the enumeration.

Unit

Syntax

Remarks

Use the method to obtain the only element of an enumeration. If the enumeration contains more than one element or the enumeration is empty, the method returns nil.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback